package com.itcast.home_work.database_query;

public class Test {
    public static void main(String[] args) {
        // mysql 查询
        String mysqlQuery = "发起查询";
        new MySqlQuery() {}.executeQuery(mysqlQuery);

        // sql server 查询
        String serverQuery = "再次发起查询";
        SqlServerQuery serverObject = new SqlServerQuery() {};
        serverObject.executeQuery(serverQuery);
    }
}
